<?php
class FrontAction extends Action
{
	private  $_header;
	
	public function __construct($context)
	{
		parent::__construct($context);
		$this->responseType = "XMLHttpRequest" == $context->server("HTTP_X_REQUESTED_WITH") ? "json" : "html";
		$viewClass = "Frontend" . ucfirst($this->responseType) . "View";
		$this->view = new $viewClass();
	}
	
	private function _init()
	{}
}